package com.xiangge.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lsy_server
 */
@Component
@ConfigurationProperties(prefix = "synthesize.crawler")
@Data
public class CrawlerProperties {
    private CrawlerSource taoBao;
    private CrawlerSource tianMao;
    private CrawlerSource jingDong;

    @Data
    public static class CrawlerSource {
        private Boolean open;
        private String url;
    }
}
